home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / dragpic3 / readme.txt < prev   
Text File  |  1998-04-20  |  735b  |  18 lines

  1. http://www.vb-helper.com/HowTo/dragpic3.zip
  2.  
  3.     Purpose
  4. Overlay a picture on another and allow the user to drag it quickly.
  5.  
  6.     Method
  7. Use a hidden PictureBox to store the background image. To move the
  8. foreground object, erase it using BitBlt to draw from the hidden picture
  9. to the visible picture. Use BitBlt and the image mask with op code
  10. MERGEPAINT to knock out the mask. Finally, use BitBlt with the foreground
  11. image and opcode SRCAND to drop in the foreground image.
  12.  
  13.     Disclaimer
  14. This example program is provided "as is" with no warranty of any kind. It is
  15. intended for demonstration purposes only. In particular, it does no error
  16. handling. You can use the example in any form, but please mention
  17. www.vb-helper.com.
  18.